*{
    margin: 0;
    padding: 0;
}
ul li{
    list-style: none;
}
img{
    display: block;
}
.auto-img{
    width: 100%;
}
.all{
    width: 100%;
    background-color: #F5F5F5;
    line-height: 28px;
    .header{
        position: relative;
        width: 1170px;
        height: 30px;
        font: 12px/28px tahoma,arial,Hiragino Sans GB,WenQuanYi Micro Hei,\5FAE\8F6F\96C5\9ED1,\5B8B\4F53,sans-serif;
        margin: 0 auto;
        z-index: 100;
        // border: 1px solid red;
        .header-left{
            cursor: pointer;
            display: inline-block;
            padding-left: 15px;
            padding-right: 20px;
            position: relative;
            color: #666666;
            >span{
                /* padding-left: 12px;
                font-size: 12px;
                color: #999999; */
                cursor: pointer;
                width: 0;
                height: 0;
                display: inline-block;
                border: 4px solid transparent;
                border-top-color: #999999;
                position: absolute;
                top: 11px;
                right: -1px;
            }
        }
        .header-right{
            color: #666666;
            position: absolute;
            right: 0;
            top: 0;
            padding-right: 10px;
            >li{
                box-sizing: border-box;
                cursor: pointer;
                display: inline-block;
                position: relative;
                padding: 0 28px 0 8px;
                border: 1px solid transparent;
                &:nth-child(1){
                    padding: 0 20px 0 15px;
                    .header-right-first{
                        display: none;
                        box-sizing: border-box;
                        position: absolute;
                        z-index: 1000;
                        width: 282px;
                        height: 177px;
                        border: 1px solid #cdcdcd;
                        left: -1px;
                        padding: 14px 20px 10px 20px;
                        a{
                            color: #333;
                            text-decoration: none;
                            &:hover{
                                color: #f10180;
                            }
                        }
                        &::before{
                            content: '';
                            position: absolute;
                            width: 71px;
                            height: 1px;
                            background-color: white;
                            z-index: 2000;
                            top: -1px;
                            left: 0;
                        }
                        .header-right-first-header{
                            box-sizing: border-box;
                            height: 53px;
                            padding-top: 15px;
                            display: flex;
                            align-items: center;
                            >div{
                                // font-size: 0;
                                &:nth-child(1){
                                    width: 38px;
                                    height: 38px;
                                    background-image: url(https://shop.vipstatic.com/img/common/header/sprites-hash-06206acd.png?78d4dd66);
                                    background-position: -164px -142px;
                                    margin-right: 10px;
                                }
                                &:nth-child(2){
                                    box-sizing: border-box;
                                    width: 180px;
                                    height: 33px;
                                    line-height: 33px;
                                    padding-left: 5px;
                                    border-bottom: 1px  dashed #cdcdcd;
                                }
                            }
                        }
                        .header-right-first-content{
                            color: #333333;
                            margin: 10px 0;
                            overflow: hidden;
                            >li{
                                float: left;
                                width: 50%;
                                &:hover{
                                    color: #f10180;
                                }
                            }
                        }
                    }
                    &:hover{
                        .header-right-first{
                            display: block;
                        }
                    }
                }
                &:nth-child(2){
                    padding: 0 20px 0 10px;
                    text-indent: -9px;
                    &::after{
                        right: -5px;
                    }
                }
                &:nth-child(3){
                    color: #777777;
                    padding: 0 20px 0 27px;
                    &::before{
                        content: '';
                        display: inline-block;
                        box-sizing: border-box;
                        position: absolute;
                        top: 2px;
                        left: 10px;
                        width: 15px;
                        height: 18px;
                        background: url(https://shop.vipstatic.com/img/common/header_sign-hash-0459d02c.gif?dd7841df) no-repeat;
                    }
                    .header-right-three{
                        cursor: pointer;
                        z-index: 1000;
                        display: none;
                        position: absolute;
                        left: -146px;
                        // top: 0;
                        width: 390px;
                        border: 1px solid;
                        border: 1px solid #dbdada;
                        border-radius: 2px;
                        box-shadow: 0 0 3px 3px rgba($color: #cccccc, $alpha: 0.2);
                        box-sizing: border-box;
                        padding: 20px 30px;
                        &::before{
                            content: '';
                            position: absolute;
                            z-index: 2000;
                            width: 0;
                            height: 0;
                            border: 5px solid transparent;
                            border-bottom-color: white;
                            left: 0;
                            right: 0;
                            top: -10px;
                            margin: 0 auto;
                        }
                        .header-right-three-first{
                            height: 16px;
                            line-height: 16px;
                            font-size: 16px;
                            margin: 5px 0;
                            text-align: center;
                            color: #333333;
                            font-weight: bold;
                            >span{
                                color: #f10180;
                            }
                        }
                        .header-right-three-second{
                            width: 305px;
                            margin: 10px auto;
                            text-align: center;
                            font: 12px/18px tahoma,arial,Hiragino Sans GB,WenQuanYi Micro Hei,'\5FAE\8F6F\96C5\9ED1','\5B8B\4F53',sans-serif;
                            color: #333333;
                        }
                        .header-right-three-three{
                            width: 330px;
                            height: 160px;
                            padding: 20px 0;
                        }
                        .header-right-three-four{
                            padding: 10px;
                            display: flex;
                            justify-content: space-between;
                            align-items: center;
                            background-image: url(https://shop.vipstatic.com/img/common/bg-hash-36387f12.png);
                            >div{
                                width: 124px;
                                height: 124px;
                            }
                            >span{
                                margin-right: 20px;
                                color: #333333;
                                >span{
                                    font-weight: bold;
                                }
                            }
                        }
                    }
                    &:hover{
                        color: #777777;
                        .header-right-three{
                            display: block;
                        }
                    }
                    /* &::after{
                        right: -5px;
                    } */
                }
                &:nth-child(4){
                    text-indent: -7px;
                    padding-right: 0;
                    &::after{
                        right: -20px;
                        z-index: 0;
                    }
                }
                &:nth-child(5){
                    padding-right: 34px;
                    text-indent: 15px;
                    >ul{
                        z-index: 1000;
                        display: none;
                        position: absolute;
                        border: 1px solid #cdcdcd;
                        width: 100%;
                        left: -1px;
                        border-top-color: transparent;
                        >li{
                            color: #666666;
                            text-indent: 23px;
                            &:hover{
                                color: #f10180;
                            }
                            &:last-child{
                                padding-bottom: 12px;
                            }
                        }
                    }
                    &:hover{
                        >ul{
                            display: block;
                        }
                    }
                    >span{
                        right: 22px;
                    }
                }
                &:nth-child(6){
                    text-indent: -1px;
                    padding-right: 15px;
                    >div{
                        z-index: 1000;
                        display: none;
                        position: absolute;
                        border: 1px solid #cdcdcd;
                        width: 100%;
                        left: -1px;
                        border-top-color: transparent;
                        border-left-color: white;
                        border-right-color: white;
                        text-indent: 10px;
                        margin: 2px 0 14px 0;
                        padding-bottom: 13px;
                        &:hover{
                            color: #f10180;
                        }
                    }
                    &:hover{
                        >div{
                            display: block;
                        }
                    }
                    &::after{
                        display: none;
                    }
                    >span{
                        right: 3px;
                    }
                    .special-six-left{
                        border: 1px solid #cdcdcd;
                        border-right: white;
                        position: absolute;
                        background-color: white;
                        width: 20px;
                        height: 59px;
                        left: -16px;
                        top: -3px;
                    }
                    .special-six-right{
                        border: 1px solid #cdcdcd;
                        border-left: white;
                        position: absolute;
                        background-color: white;
                        width: 20px;
                        height: 59px;
                        left: 80px;
                        top: -3px;
                    }
                }
                &:nth-child(7){
                    padding-left: 22px;
                    padding-right: 46px;
                    text-indent: 1px;
                    >ul{
                        width: 100px;
                        z-index: 1000;
                        display: none;
                        position: absolute;
                        border: 1px solid #cdcdcd;
                        width: 100%;
                        left: -1px;
                        border-top-color: transparent;
                        >li{
                            color: #666666;
                            text-indent: 25px;
                            &:hover{
                                color: #f10180;
                            }
                            &:last-child{
                                padding-bottom: 15px;
                            }
                        }
                    }
                    >span{
                        right: 35px;
                    }
                    &:hover{
                        >ul{
                            display: block;
                        }
                        &::before{
                            display: none;
                        }
                    }
                    &::before{
                        content: "";
                        position: absolute;
                        display: block;
                        left: 0;
                        top: 0;
                        bottom: 0;
                        margin: auto 0;
                        z-index: 100;
                        width: 16px;
                        height: 16px;
                        // background-color: red;
                        background: url(https://shop.vipstatic.com/img/common/header/sprites-hash-06206acd.png?78d4dd66) no-repeat;
                        // background-position: -213px -187px;
                        background-position: -207px -184px;
                        opacity: 0.8;
                    }
                    &::after{
                        right: 4px;
                    }
                }
                &:nth-child(8){
                    text-indent: -2px;
                    padding-left: 18px;
                    padding-right: 20px;
                    &::before{
                        content: '';
                        display: inline-block;
                        position: absolute;
                        left: 2px;
                        top: 6px;
                        background-image: url(https://shop.vipstatic.com/img/common/header/sprites-hash-06206acd.png?78d4dd66);
                        background-position: -294px -142px;
                        width: 10px;
                        height: 14px;
                    }
                    .special-eight{
                        display: none;
                        width: 20px;
                        height: 30px;
                        background-color: #ffffff;
                        position: absolute;
                        left: -22px;
                        top: -1px;
                        z-index: 2000;
                        border: 1px solid #cdcdcd;
                        border-right-color: white;
                        border-bottom-color: transparent;
                    }
                    .img-eight{
                        z-index: 1000;
                        width: 187px;
                        height: 217px;
                        box-sizing: border-box;
                        position: absolute;
                        display: none;
                        border: 1px solid #cdcdcd;
                        right: -1px;
                        top: 30px;
                        padding: 12px 12px 0 12px;
                        &::after{
                            content: '';
                            position: absolute;
                            display: block;
                            width: 84px;
                            height:3px;
                            background-color: white;
                            border-right: 1px solid #cdcdcd;
                            z-index: 2000;
                            right: -1px;
                            top: -3px;
                        }
                        >div{
                            width: 161px;
                            height: 161px;
                        }
                        >span{
                            height: 42px;
                            line-height: 42px;
                            display: block;
                            font-size: 14px;
                            font-weight: bold;
                            color: #333333;
                            text-align: center;
                            &:hover{
                                color: #f10180;
                            }
                        }
                    }
                    &:hover{
                        .special-eight{
                            display: block;
                        }
                        .img-eight{
                            display: block;
                        }
                    }
                    &::after{
                        right: -4px;
                    }
                }
                &:nth-child(9){
                    width: 72px;
                    // padding-right: 20px;
                    >span{
                        right: 26px;
                    }
                    .special-night{
                        display: none;
                        width: 20px;
                        height: 30px;
                        box-sizing: border-box;
                        position: absolute;
                        background-color: white;
                        left: -20px;
                        top: -1px;
                        z-index: 1000;
                        border: 1px solid #cdcdcd;
                        border-right-color: transparent;
                        border-bottom-color: transparent;
                    }
                    .content-night{
                        width: 300px;
                        border: 1px solid #cdcdcd;
                        position: absolute;
                        display: none;
                        right: -1px;
                        top: 29px;
                        padding: 10px 20px;
                        box-sizing: border-box;
                        color: #333333;
                        .content-night-fontsize{
                            font-size: 14px;
                            font-weight: bold;
                        }
                        >div{
                            &:nth-child(1){
                                margin-top: 5px;
                            }
                            &:nth-child(2){
                                &:hover{
                                    color: #f10180;
                                }
                            }
                            &:nth-child(3){
                                margin-top: 14px;
                                padding-top: 8px;
                                height: 25px;
                                width: 100%;
                                border-top: 1px dashed #cdcdcd;
                            }
                        }
                        >ul{
                            margin-bottom: 12px;
                            height: 25px;
                            width: 100%;
                            overflow: hidden;
                            >li{
                                float: left;
                                margin-right: 10px;
                                &:hover{
                                    color: #f10180;
                                }
                            }
                        }
                        &::after{
                            content: '';
                            position: absolute;
                            width: 89px;
                            height: 3px;
                            background-color: white;
                            right: 0;
                            top: -2px;
                        }
                    }
                    &::after{
                        display: none;
                    }
                    &:hover{
                        .special-night{
                            display: block;
                        }
                        .content-night{
                            display: block;
                        }
                    }
                }
                &::after{
                    content: "";
                    position: absolute;
                    display: block;
                    right: 0;
                    top: 0;
                    bottom: 0;
                    margin: auto 0;
                    z-index: 100;
                    width: 16px;
                    height: 16px;
                    // background-color: red;
                    background: url(https://shop.vipstatic.com/img/common/header/sprites-hash-06206acd.png?78d4dd66) no-repeat;
                    // background-position: -213px -187px;
                    background-position: -207px -184px;
                    opacity: 0.8;
                }
                >span{
                    width: 0;
                    height: 0;
                    display: block;
                    border: 4px solid transparent;
                    border-top-color: #999999;
                    position: absolute;
                    top: 13px;
                    right: 16px;
                }
                &:hover{
                    color: #f10180;
                    background-color: white;
                    border: 1px solid #cdcdcd;
                    border-bottom-color: white;
                    &::after{
                        z-index: -1000;
                    }
                    >span{
                        display: inline-block;
                        transform: rotate(180deg);
                        border-top-color: red;
                        top: 8px;
                    }
                    &:nth-child(2){
                        border: 1px solid transparent;
                        background-color: transparent;
                    }
                    &:nth-child(3){
                        border: 1px solid transparent;
                        background-color: transparent;
                    }
                    &:nth-child(4){
                        border: 1px solid transparent;
                        background-color: transparent;
                    }
                }
            }
        }
    }
}